package com.daniel.gof.responsibility;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/11/19 11:12
 */
public abstract class Approver {

    Approver approver;

    String name;

    public Approver(String name) {
        this.name = name;
    }

    public void setNextApprover(Approver approver) {
        this.approver = approver;
    }

    public abstract void process(PurchaseRequest request);
}
